﻿using Common.Infrastructure;

namespace Base.Data.Entity
{
    public class t_member : EntityBase
    {
        [EntityFieldLength(30)]
        [EntityFieldIndex(true)]
        public string code { get; set; }

        [EntityFieldLength(60)]
        public string name { get; set; }

        [EntityFieldLength(100)]
        public string password { get; set; }

        [EntityFieldLength(20)]
        public string phone { get; set; }
        public string user_id { get; set; }

        public string depart_id { get; set; }

        public int enable_status { get; set; }
        public string remark { get; set; }

        public string area_id { get; set; }

        public string responsible_id { get; set; }

        /// <summary>
        /// 上级lcp编号（不同步BR系统，手动维护）
        /// </summary>
        [EntityFieldLength(20)]
        public string superior_lcp_code { get; set; }

        public int iqc_power_level { get; set; }

        /// <summary>
        /// API的键值
        /// </summary>
        [EntityFieldLength(80)]
        public string api_key { get; set; }
    }
}
